.shopcar-page {
  background: $bgColor;
  box-sizing: border-box;
  overflow: hidden;
  height: 100vh;
  .no-cart {
    background: url(https://static-as.missfresh.cn/frontend/img/icon_buycar_empty_icon.png) center no-repeat;
    background-size: 90px 90px;
    padding-top: 162px;
    background-position-y: 182px;
    .no-cart-info {
      font-size: 14px;
      padding-top: 128px;
      padding-bottom: 70px;
      text-align: center;
      .no-cart-txt1 {
        display: block;
        font-size: 15px;
        color: #7f7f7f;
      }
    }
  }
  .shopcar-contain {
    min-height: 100vh;
    box-sizing: border-box;
    padding-bottom: 100px;
    .street-box {
      @include allCFlex();
      position: relative;
      height: 44px;
      font-size: 16px;
      background-color: $white;
      &::before {
        content: '';
        width: 22px;
        height: 22px;
        display: inline-block;
        vertical-align: middle;
        margin-right: 5px;
        background: url(https://static-as.missfresh.cn/frontend/img/position-icon.png) no-repeat;
        background-size: 100% 100%;
      }
      &::after {
        content: '';
        width: 15px;
        height: 15px;
        display: inline-block;
        vertical-align: middle;
        background: url(https://static-as.missfresh.cn/frontend/img/cart-position-select.png) no-repeat;
        background-size: 100% 100%;
      }
    }
    .cart-group {
      .cart-head {
        position: relative;
        @include leftFlexCenter();
        margin-top: 10px;
        height: 42px;
        background-color: $white;
        font-size: 14px;
        color: #262626;
        .cart-group-all {
          width: 50px;
          box-sizing: border-box;
          text-align: center;
          padding: 5px 10px 0 10px;
          .checkbox {
            width: 22px;
            height: 22px;
            display: inline-block;
            background: url(https://static-as.missfresh.cn/frontend/img/unchecked.png) no-repeat;
            background-size: cover;
            &.checked {
              background: url(https://static-as.missfresh.cn/frontend/img/checked.png) no-repeat;
              background-size: 100% 100%;
            }
          }
          .cart-group-title {
            max-width: 30%;
            margin-right: 9%;
            span {
              width: 150%;
              display: block;
            }
          }
        }
        .cart-ship-head {
          position: absolute;
          right: 15px;
          color: #ff4891;
          font-size: 12px;
          align-self: center;
        }
      }
      .cart-list {
        .cart-item {
          @include leftFlexCenter();
          background-color: $white;
          border-top: 1px solid #f5f5f5;
          .checkbox-wrapper {
            @include allCFlex();
            width: 50px;
            flex-basis: 50px;
            text-align: center;
            .checkbox {
              display: block;
              width: 22px;
              height: 22px; // background: #fff;
              border: 1px solid #d1d1d1;
              border-radius: 15px;
              padding: 0;
              &.checked {
                width: 22px;
                height: 22px;
                background: url(https://static-as.missfresh.cn/frontend/img/quanxuan.png) no-repeat;
                background-size: 100% 100%;
                border: none;
              }
            }
          }
          .item-content {
            @include leftFlexCenter();
            flex: 1;
            padding: 21px 0;
            .item-image {
              @include size(70px);
              flex-basis: 70px;
              img {
                @include size(70px);
              }
            }
            .item-info {
              margin-left: 13px;
              flex: 1;
              position: relative;
              height: 65px;
              .mess-title {
                width: 210px;
                @include ellipsisMore(2);
                font-size: 14px;
                letter-spacing: -1px;
                color: #474245;
                line-height: 1.4;
              }
              .bom-price {
                position: absolute;
                bottom: 0;
                left: 3px;
                font-size: 0;
                .icon-unit {
                  color: rgb(255, 72, 145);
                  font-size: 12px;
                  letter-spacing: -3px;
                }
                .price-number {
                  color: rgb(255, 72, 145);
                  font-size: 15px;
                }
              }
              .cart-compontent {
                @include allCFlex();
                position: absolute;
                right: 15px;
                bottom: 0;
                .reduce {
                  width: 22px;
                  height: 22px;
                  display: inline-block;
                  text-align: center;
                  position: relative;
                  background-image: url(https://static-as.missfresh.cn/frontend/img/reduce-img-cart.png);
                  background-repeat: no-repeat;
                  background-size: 100% 100%;
                }
                .add {
                  width: 22px;
                  height: 22px;
                  display: inline-block;
                  text-align: center;
                  position: relative;
                  background-image: url(https://static-as.missfresh.cn/frontend/img/add-img-cart.png);
                  background-repeat: no-repeat;
                  background-size: 100% 100%;
                  &.gray {
                    -webkit-filter: grayscale(95%);
                    -moz-filter: grayscale(95%);
                    -ms-filter: grayscale(95%);
                    -o-filter: grayscale(95%);
                    filter: grayscale(95%);
                    filter: gray;
                  }
                }
                .txt {
                  width: 30px;
                  height: 22px;
                  background-color: transparent;
                  color: #4b4b4b;
                  line-height: 20px;
                  display: inline-block;
                  border: none;
                  border-radius: 0;
                  text-align: center;
                  vertical-align: top;
                  margin: 0;
                  font-size: 14px;
                }
              }
            }
          }
        }
      }
      .price-list-panel {
        margin-top: 10px;
        background-color: $white;
        margin-bottom: 10px;
        .item-board {
          @include spaceBetweenCenter();
          height: 49px;
          padding: 0 15px;
          margin-bottom: 0;
          background-color: #fff;
          border-bottom: 1px solid #f5f5f5;
          &:last-child {
            border-bottom: none;
          }
          .title {
            color: rgb(38, 38, 38);
            background-color: inherit;
            width: 60%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            display: inline-block;
            .tips {
              font-size: 12px;
              color: #969696;
              margin-left: 6px;
            }
          }
          .price-content {
            width: 109px;
            float: right;
            text-align: right;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            .price-letter {
              color: rgb(38, 38, 38);
            }
            .total-letter {
              color: #ff4891;
            }
          }
        }
      }
    }
  }
  .cart-footer {
    position: fixed;
    left: 0;
    bottom: 50px;
    background-color: rgba($white, 1);
    width: 100%;
    height: 50px;
    @include leftFlexCenter();
    .price-num {
      border-top: 0.5px solid #e6e6e6;
      position: static;
      margin-top: 0; // background: #fff;
      padding-right: 10px;
      flex: 0 0 78px;
      .checkbox-wrapper {
        @include allCFlex();
        width: 50px;
        .checkbox {
          position: absolute;
          top: 13px;
          display: block;
          width: 22px;
          height: 22px; // background: #fff;
          border: 1px solid #d1d1d1;
          border-radius: 15px;
          padding: 0;
          &.checked {
            width: 22px;
            height: 22px;
            background: url(https://static-as.missfresh.cn/frontend/img/quanxuan.png) no-repeat;
            background-size: 100% 100%;
            border: none;
          }
        }
      }
      .all {
        font-size: 14px;
        color: #262626;
        display: block;
        line-height: 49px;
        margin-left: 40px;
      }
    }
    .fot-price {
      font-size: 18px;
      background: #ff4891;
      height: 100%;
      width: 130px;
      line-height: 49px;
      text-align: center;
      &.foot-info {
        display: flex;
        flex-direction: column;
        flex: 1;
        border-top: 0.5px solid #e6e6e6;
        background: #fff;
        color: #262626;
        text-align: left;
        vertical-align: middle;
        height: 49px;
        line-height: 15px;
        overflow: hidden;
      }
      .total-price-box {
        margin-top: 10px;
        color: rgb(38, 38, 38);
        font-size: 0;
        line-height: 1;
        span {
          font-size: 14px;
        }
        .total-price {
          color: rgb(255, 72, 145);
          letter-spacing: -0.6px;
        }
      }
      .post-info {
        font-size: 10px;
        color: rgb(150, 150, 150);
        line-height: 16px;
      }
    }
    .foot-price {
      color: $white;
      .price-btn {
        &::after {
          content: ' ';
          width: 7px;
          height: 10px;
          background: url(https://static-as.missfresh.cn/frontend/img/youjiantou.png) no-repeat;
          background-size: 7px 8px;
          display: inline-block;
          line-height: 49px;
          vertical-align: middle;
        }
      }
    }
  }
}